<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <meta name="author" content="Awarepixel"/>
  <title>FaxViewer</title>
  <link type="text/css" href="css/faxviewer.css" rel="stylesheet" />
  <base target="_top">
</head>
  <body id="control">
    
    <div id="message">
      Para guardar, imprimir o enviar por correo, descargar el fax en PDF.
    </div>
    
    <div id="control">
      <!-- <input type="button" value="Descargar Fax original" onClick="window.open('{$images_url_original}{$id}')"/> -->
      <input type="button" value="Descargar PDF" onClick="window.open('{$pdf_url}{$id}.pdf')"/>
      <input type="button" value="Enviar a la papelera" onClick="if(window.confirm('¿Está seguro? No podrá recuperar el fax una vez enviado a la papelera.')){ldelim}parent.location.href='index.php?usecase=trash&amp;id={$id}'{rdelim}"/>
      <input type="button" value="Bandeja de entrada" onClick="top.location.href='index.php'"/>
    </div>
  </body>
</html>